Machine powered refactoring with AST's

Machine powered refactoring with AST's